package my.app.com.baidu.rigel.pss;

import java.io.File;

import my.app.com.baidu.rigel.pss.app1.IdeaStringFilter;
import my.java.io.FileConvertor;
import my.java.io.StringFilter;
import my.java.io.fileconvertor.GeneralFileConvertor;

public class FileMain {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		StringFilter filter = new StringFilter() {
			
			public String convert(String string) {
				return string;
			}
		};
		FileConvertor fileConvertor = new GeneralFileConvertor(filter);
		File file = new File("D:\\rmi.log");
		fileConvertor.convert(file, "D:\\rmi.log" + ".out");
	}

}
